<%@ page pageEncoding="UTF-8" trimDirectiveWhitespaces="true"%>
<%@ include file="../../inc/taglib.jsp"%>

<div class="modal" data-backdrop="static">
	<form action="./save" method="post" id="edit-form">
		<input type="text" class="hidden" name="id">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal">&times;</button>
					<h4 class="modal-title">弹窗标题</h4>
				</div>
				<div class="modal-body">
					<div class="form-group">
						<label for="name">角色名称：</label>
						<div>
							<input type="text" class="form-control" id="name" name="name" placeholder="名称" data-rule="角色名称: required" maxlength="64">
						</div>
					</div>
					<div class="form-group">
						<label for="remark">角色备注：</label>
						<div>
							<input type="text" class="form-control" id="remark" name="remark" placeholder="备注" maxlength="256">
						</div>
					</div>
					<div class="form-group">
						<label for="remark">功能授权：</label>
						<div>
							<ul id="action-tree" class="ztree"></ul>
						</div>
					</div>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-default pull-left" data-dismiss="modal">取 - 消</button>
					<button type="submit" class="btn btn-primary" id="btn-save">保 - 存</button>
				</div>
			</div>
		</div>
	</form>
</div>
